<%@page import="models.beans.FAQ"%>
<%@page import="java.util.List"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<div class="container">
    <div class="main-container-full">
        <div style="width:80%;margin:auto;">
                <div class="form_img">
                    <img src="/BluePumpkin/_assets/images/blue-pumpkin-logo-2.png" title="Contact"/>
                </div>
                <div class="form" style="float:left;width: 430px;">
                    <div class="form_header">FAQs</div>
                    <div class="form_content">
                        <table>
                            <tr>
                                <td>
                                    <ol>
                                        <logic:iterate id="faq" name="faqs" scope="request">
                                            <li><a href="#faq${faq.FAQId}">${faq.question}</a></li>
                                        </logic:iterate>

                                    </ol>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <hr/>
                                    <ol>
                                        <logic:iterate id="faq" name="faqs" scope="request">
                                            <li>
                                                <p><a name="faq${faq.FAQId}">${faq.question}.</a></p>
                                                <p>${faq.answer}</p>
                                            </li>
                                        </logic:iterate>



                                    </ol>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>

                <br style="clear:both;"/>
        </div>
    </div>
</div>
